package com.spring.gop.proj.interfaces;

import java.util.List;
import java.util.Map;

import com.spring.gop.proj.model.Cdt;
import com.spring.gop.proj.model.Qna;

public interface QnaService {

	public List<Qna> getArticles();
	public Qna getArticle(int num);
	public void insertArticle(Qna qna);
	public int updateArticle(Qna qna);
	public int delArticle(int num, String pass);
/*	public Qna getPasswd(int num);*/
	public void updateNum(Qna qna);
	public int getMaxNum();
	public int getArticleCount();
	public void updateHit(int num);
	public List<Qna> getArticles1(Cdt cdt);
	public int getArticleCount1(Cdt cdt);
	public List<Qna> getArticles2(Cdt cdt);
	public List<Qna> selectListForId(String member_id);
	
	
	public List<Qna> getArticles3();
	public Qna getArticle1(int num);
	public void insertArticle1(Qna qna);
	public int updateArticle1(Qna qna);
	public int delArticle1(int num, String pass);
	public void updateNum1(Qna qna);
	public int getMaxNum1();
	public int getArticleCount2();
	public void updateHit1(int num);
	public List<Qna> getArticles4(Cdt cdt);
	public int getArticleCount3(Cdt cdt);
	
	public List<Qna> getArticles5(Cdt cdt);
}
